import request from "@/utils/request";

export function getList(params) {
  return request({
    url: '/blog/category/list',
    method: 'get',
    params
  })
}

export function editList(method, data) {
  return request({
    url: '/blog/category',
    method,
    data
  })
}

export function deleteList(ids) {
  return request({
    url: '/blog/category/' + ids,
    method: 'delete',
  })
}
